// JavaScript Document
function   selectOrgan()  
  {    
  var labels;
  var balues;
  switch   (document.regirst.bigorgan.value)  
  {  
  case   '1'   :    
     labels   =   new   Array("single line","intersection of lines","angle formed by lines","concurrent","perpendicular","parallel");    
     values   =   new   Array("1","2","3","4","5","6");    
  break;    
  case   '2'   :    
    labels   =   new   Array("curve");    
    values   =   new   Array("7");    
  break;    
  case   '3'   :    
     labels   =   new   Array("general triangle","right triangle","isoceles triangle","equilateral triangle","with lines","with inner point","with several special lines","altitude","median","symmedian","bisector","trisector","concurrent", "transversal","several triangles","similar","congruent");    
     values   =   new   Array("8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24");    
  break;    
  case   '4'   :    
     labels   =   new   Array("general quadrilateral","complete quadrilateral","general parallelogram","trapezoid","diagonal (general quadrilateral)","diagonal (general parallelogram)","diagonal (diamond)","diagonal (trapezoid)","other (general quadrilateral)","other (general parallelogram)","other (diamond)","other (rectangle)","other (square)","other (trapezoid)","with triangle","with quadrilateral","with parallelogram","several rectangles","several squares");    
     values   =   new   Array("25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43");    
  break;    
   case   '5'   :    
     labels   =   new   Array("polygon","pentagon","hexagon","decagon","with triangle","with decagon","with hexagon");    
     values   =   new   Array("44","45","46","47","48","49","50");    
  break;    
   case   '6'   :    
     labels   =   new   Array("circle","with lines","tangent","chord and arc","with triangle","circumcircle","inscribed and escribed circle","nine-point circle","with quadrilateral","cyclic quadrilateral","cyclic orthodiagonal quadrilateral","with polygon","several circles","intersection of circles","orthogonal","tangent of circles","exterior circles ","concentric circles");    
     values   =   new   Array("51","52","53","54","55","56","57","58","59","60","61","62","63","64","65","66","67","68");    
  break;    
   case   '0'   :    
     labels   =   new   Array("");    
     values   =   new   Array("");    
  break;  
  }  
  

  //   清空市列表选择框的内容    
  document.regirst.smallorgan.options.length   =   labels.length;    
  //   从数组中添加内容    
  for(var   i = 0; i < labels.length; i++) {   
  
  
 
  document.regirst.smallorgan.options[i].text=labels[i];    
  document.regirst.smallorgan.options[i].value=values[i];    
  
  }    
  //   选择第一个选项    
  document.regirst.smallorgan.selectedIndex=0;    
  }    
